import service from "@/utils/fetch";
const post = {
  //入驻
  apply(params) {
    return service({
      method: "post",
      data: params,
      url: "/api/tenant/settled"
    });
  },

  // 商家信息
  tenantInfo(id) {
    return service({
      method: "get",
      url: `/api/tenant/${id}`
    });
  },

  // 查询文章详情
  articleDetail(id) {
    return service({
      method: "get",
      url: `/api/article/${id}`
    });
  },
};

export default post;
